home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group93b.txt / 000014_icon-group-sender _Sat Apr 24 14:27:49 1993.msg < prev    next >
Internet Message Format  |  1993-06-16  |  2KB

  1. Received: by cheltenham.cs.arizona.edu; Sun, 25 Apr 1993 18:22:14 MST
  2. Date: 24 Apr 93 14:27:49 GMT
  3. From: agate!howland.reston.ans.net!ux1.cso.uiuc.edu!uchinews!ellis!goer@ucbvax.Berkeley.EDU  (Richard L. Goerwitz)
  4. Organization: University of Chicago
  5. Subject: Re: Lets Make Icon Popular.  Lets hold a contest.
  6. Message-Id: <1993Apr24.142749.24979@midway.uchicago.edu>
  7. References: <1raf77$bti@access.digex.net>
  8. Sender: icon-group-request@cs.arizona.edu
  9. To: icon-group@cs.arizona.edu
  10. Status: R
  11. Errors-To: icon-group-errors@cs.arizona.edu
  12.  
  13. In article <1raf77$bti@access.digex.net> prb@access.digex.com (Pat) writes:
  14. >
  15. >Every year at Usenix, they hold the IOCCC  that is the International
  16. >Obfuscated C coding Contest.   The rules are simple.  No more then
  17. >1 page  of source code.  Must do soemthing non-trivial.  Winner
  18. >is the most amazing bit of code.
  19. >
  20. >what do you all think?
  21.  
  22. Sounds like a neat idea.  Of course, the reason the obfuscated C contest
  23. is such a hit is because it plays on a "feature" of C, namely sparse syn-
  24. tax and no seat belts.  You can subscript past the end of an array, create
  25. pointers to pointers to nothing in particular.  You can declare variables
  26. and assign a value to them whose storage has a shorter lifetime than the
  27. variable.  You can do incredibly stupid and/or cryptic things in C.  What's
  28. funny is when somebody makes something that *looks* incredibly stupid or
  29. cryptic actually work.
  30.  
  31. In Icon, cryptic-ness would have to dwell more, I'd think, on unexpected
  32. or complex side-effects from coexpressions or generators.  There is a fine
  33. line, at times, between "expressiveness" and "power" and "obfuscation."
  34.  
  35. -- 
  36.  
  37.    -Richard L. Goerwitz              goer%midway@uchicago.bitnet
  38.    goer@midway.uchicago.edu          rutgers!oddjob!ellis!goer
  39.